package com.literature.threeGroup.mapper;

import com.literature.threeGroup.pojo.AgencyCompany;
import com.literature.threeGroup.pojo.AgencyCompanyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface AgencyCompanyMapper {
    long countByExample(AgencyCompanyExample example);

    int deleteByExample(AgencyCompanyExample example);

    /**
      * @name  删除
     * @Author VULCAN
     * @Date 2020/2/1 15:22
     */
    int deleteByPrimaryKey(String id);

    /**
      * @name  新增代理公司
     * @Author VULCAN
     * @Date 2020/2/1 12:37
     */
    int insert(AgencyCompany record);

    int insertSelective(AgencyCompany record);

    List<AgencyCompany> selectByExample(AgencyCompanyExample example);

    /**
      * @name  id查询
     * @Author VULCAN
     * @Date 2020/2/1 12:38
     */
    AgencyCompany selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgencyCompany record, @Param("example") AgencyCompanyExample example);

    int updateByExample(@Param("record") AgencyCompany record, @Param("example") AgencyCompanyExample example);

    int updateByPrimaryKeySelective(AgencyCompany record);

    /**
      * @name  代理公司修改
     * @Author VULCAN
     * @Date 2020/2/1 12:36
     */
    int updateByPrimaryKey(AgencyCompany record);

    /**
      * @name  代理公司列表
     * @Author VULCAN
     * @Date 2020/2/1 12:36
     */
    List<AgencyCompany> AgencyCompanyFindlist();
    /**
      * @name  模糊
     * @Author VULCAN
     * @Date 2020/2/1 12:53
     */
    List<AgencyCompany> findAgencyCompanylikename(AgencyCompany agencyCompany);
    
    
}